<?php /* Smarty version Smarty-3.1.14, created on 2014-03-25 17:49:09
         compiled from "F:\PDC\ProjectEnv\wauf2014\20140117v4\Sites\Admincp\Tpl\EasyUI\index.html" */ ?>
<?php /*%%SmartyHeaderCode:3142152f7723fe9a048-56869677%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '218c1d9545dd0b8c99adc4672524d3e4a8e261c3' => 
    array (
      0 => 'F:\\PDC\\ProjectEnv\\wauf2014\\20140117v4\\Sites\\Admincp\\Tpl\\EasyUI\\index.html',
      1 => 1391910599,
      2 => 'file',
    ),
    '8a664bfcc461c30959bf3dad1b1252b3e0a8f727' => 
    array (
      0 => 'F:\\PDC\\ProjectEnv\\wauf2014\\20140117v4\\Sites\\Admincp\\Tpl\\EasyUI\\layout.html',
      1 => 1395737056,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '3142152f7723fe9a048-56869677',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.14',
  'unifunc' => 'content_52f7724067fe64_37858495',
  'variables' => 
  array (
    'page_title' => 0,
    'page_title_suffix' => 0,
    'meta_keywords' => 0,
    'meta_description' => 0,
    'USER_NAME' => 0,
    'MODULE_NAME' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_52f7724067fe64_37858495')) {function content_52f7724067fe64_37858495($_smarty_tpl) {?><!DOCTYPE html>
<html>
    <head>
        <title><?php echo $_smarty_tpl->tpl_vars['page_title']->value;?>
<?php echo $_smarty_tpl->tpl_vars['page_title_suffix']->value;?>
</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="Keywords" content="<?php echo $_smarty_tpl->tpl_vars['meta_keywords']->value;?>
" />
        <meta name="Description" content="<?php echo $_smarty_tpl->tpl_vars['meta_description']->value;?>
" />
        <link type="text/css" rel="Stylesheet" href="Sites/AppRes/yuicssreset.css" />
        <link href="/Sites/AppRes/jquery_easyui/1.3.5/themes/default/easyui.css" rel="stylesheet" />  
        <link href="/Sites/AppRes/jquery_easyui/1.3.5/themes/icon.css" rel="stylesheet" />   
        <style type='text/css'>
            a { text-decoration: none;}
            .green { color:#090;}
            .red { color:#F00;}
            .page_summary td { padding:2px 8px;}
            .sidenav li { list-style: none; line-height: 21px; margin-left:15px;}
            .btn {  display: inline-block;  padding: 6px 12px;  margin-bottom: 0;  font-size: 14px;  font-weight: normal;  line-height: 1.428571429;  text-align: center;  white-space: nowrap;  vertical-align: middle;  cursor: pointer;  border: 1px solid transparent;  border-radius: 4px;  -webkit-user-select: none;     -moz-user-select: none;      -ms-user-select: none;       -o-user-select: none;          user-select: none;}
            .btn-default {  color: #333333;  background-color: #ffffff;  border-color: #cccccc;}
            .btn-primary {  color: #ffffff;  background-color: #428bca;  border-color: #357ebd;}
            
            .editor { height:300px;}
            .layout-panel-north a { color:#FFF;}
            .easyui-panel td { padding-right: 10px;}
            
        form{
            margin:0;
        }
        .normal_form .fitem label { width:100px;}
        .ftitle{
            font-size:14px;
            font-weight:bold;
            padding:5px 0;
            margin-bottom:10px;
            border-bottom:1px solid #ccc;
        }
        .fitem{
            margin-bottom:5px;
        }
        .fitem label{
            display:inline-block;
            width:80px;
        }
        </style>
        <script src="/Sites/AppRes/Jquery/jquery-1.8.3.min.js"></script>
        <script src="/Sites/AppRes/jquery_easyui/1.3.5/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="/Sites/AppRes/jquery_easyui/1.3.5/datagrid-detailview.js"></script>
        <script src="/Sites/AppRes/jquery_easyui/1.3.5/locale/easyui-lang-zh_CN.js"></script>
        <script src='/Sites/AppRes/Jquery.Query.js'></script>
        <script src='/Sites/AppRes/xHeditor/1.1.14/xheditor-1.1.14-zh-cn.min.js'></script>
        <script type='text/javascript'>
            var uploadurl = 'Sites/AppRes/ServerCommon/upload.php';
            jQuery(document).ready(function($) {
                $.fn.datebox.defaults.formatter = function(date) {
                    var y = date.getFullYear();
                    var m = date.getMonth() + 1;
                    var d = date.getDate();
                    return y + '-' + m + '-' + d;
                }
                $('#btn_loginout').click(function(){
                    $.get('?m=Api/User&action=loginout.html',function(){location.href='?m=Index.html';});
                });
                // class="xheditor-mini {hoverExecDelay:-1,submitID:'aaa',html5Upload:false,upLinkUrl:'upload.php',upImgUrl:'upload.php',upMediaUrl:'upload.php'}"
            });
            /**
             * 设置编辑器
             * @returns {undefined}
             */
            function setEditor(){
                $('.editor').xheditor({tools: 'full', width: '100%', upLinkUrl: uploadurl, upLinkExt: 'zip,rar,txt', upImgUrl: uploadurl, upImgExt: 'jpg,jpeg,gif,png', upFlashUrl: uploadurl, upFlashExt: 'swf', upMediaUrl: uploadurl, upMediaExt: 'wmv,avi,wma,mp3,mid', html5Upload: false,submitID:'btnSave'});
            }
            
        </script>
    </head>
    <body>

        <div class="easyui-layout" style="width:100%;height:600px;">
            <div data-options="region:'north'" style=" padding:5px; line-height:16px; color:#FFF; background-color: #666;">
                <table style="width:100%"><tr><td style="font-size:16px;"><h5 style="font-size:30px; margin-bottom:10px;">WAUF网站仪表盘</h5><small>帮助您高效地管理网站</small></td><td valign="top"><div style="text-align:right;">您好,<?php echo $_smarty_tpl->tpl_vars['USER_NAME']->value;?>
 <a href='#' id="btn_loginout">退出</a></div></td></tr></table>
            </div>
            <div data-options="region:'south'" style=" padding:10px; text-align:center; color:#999;">WAUF网站后台管理系统</div>
            <div data-options="region:'west',split:true" title="导航菜单" style="width:120px;">
                <div class="easyui-accordion sidenav" id="navSide" data-options="fit:true,border:false">
                    <div title="资金账户" style="padding:10px;" data-options="selected:true">
                        <ul>
                            <li><a href='?m=Finance_Account_List.html'>账户管理</a></li>
                            <li><a href="?m=Finance_Recharge_List.html">充值管理</a></li>
                            <li><a href="?m=Finance_Withdrawal_List.html">提现管理</a></li>
                            <li><a href="?m=Finance_TransactionLog_List.html">交易日志</a></li>
                        </ul>
                    </div>
                    <div title="网站设置" style="padding:10px;">
                        <ul>
                            <li><a href='?m=Site_Setting.html'>网站设置</a></li>
                            <li><a href="?m=Page_List.html">单页管理</a></li>
                            <li><a href='?m=Catalog_List&tag=PAGE.html'>单页分类管理</a></li>
                            <li><a href="?m=Feedback_List.html">留言反馈</a></li>
                            <li><a href="?m=JoinUs_List.html">公司招聘</a></li>
                        </ul>
                    </div>                
                    <div title="文章" style="padding:10px;">
                        <ul>
                            <li><a href='?m=Article_List&tag=NOTICES.html'>公告管理</a></li>
                            <li><a href='?m=Article_List.html'>文章管理</a></li>
                            <li><a href='?m=Catalog_List&tag=ARTICLE.html'>分类管理</a></li>
                        </ul>
                    </div>             
                    <div title="产品" style="padding:10px;">
                        <ul>
                            <li><a href='?m=Product_List.html'>产品管理</a></li>
                            <li><a href='?m=Catalog_List&tag=PRODUCT.html'>分类管理</a></li>
                        </ul>
                    </div>             
                    <div title="媒体" style="padding:10px;">  
                        <ul>
                            <li><a href='?m=Media_List.html'>媒体管理</a></li>
                        </ul>                  
                    </div>
                </div>
            </div>
            <div data-options="region:'center'">
                <div class="easyui-tabs" id="tabMain" data-options="fit:true,border:false,plain:true">
                    <div title="首页" style="padding:10px">欢迎使用WAUF网站仪表盘!</div>
                </div>
            </div>
        </div>        
        <script type="text/javascript">
            // 设置框架自动高度
            $('.easyui-layout').height(document.documentElement.clientHeight);
            // 设置边栏菜单焦点 2014-1-17
            var $navside = $('.sidenav');
            var navli = $navside.find('a[href*="<?php echo $_smarty_tpl->tpl_vars['MODULE_NAME']->value;?>
"]');
            if (navli[0]) {
                $navside.find('div[title]').removeAttr('data-options');
                navli.parent().parent().parent().attr('data-options', "selected:true");
            }
            // 添加Tab
            $('#navSide li a').click(function() {
                $a = $(this);
                addTabMain($a.text(), $a.attr('href'));
                return false;
            });
            /**
             * 添加主标签
             * @returns {undefined}
             * @since 1.0.0 2014-3-19 by sutroon
             */
            function addTabMain(text, link) {
                $('#tabMain').tabs('add', {
                    title: text,
                    href: link,
                    closable: true,
                    tools: [{
                            iconCls: 'icon-mini-refresh',
                            handler: function() {
                                $('#tabMain').tabs('getSelected').panel('refresh', link);
                            }
                        }]
                });
                return false;
            }
        </script>
    </body>
</html>
<?php }} ?>